package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 留言反馈对象 property_feedback
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class PropertyFeedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 反馈ID */
    private Long feedbackId;

    /** 关联房屋 */
    @Excel(name = "关联房屋")
    private Long houseId;

    /** 提交人 */
    @Excel(name = "提交人")
    private Long userId;

    /** 类型：COMPLAINT/SUGGESTION/CONSULT */
    @Excel(name = "类型：COMPLAINT/SUGGESTION/CONSULT")
    private String type;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String images;

    /** 状态：PENDING/PROCESSING/COMPLETED */
    @Excel(name = "状态：PENDING/PROCESSING/COMPLETED")
    private String status;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String reply;

    /** 回复人 */
    @Excel(name = "回复人")
    private Long replyBy;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replyTime;

    public void setFeedbackId(Long feedbackId) 
    {
        this.feedbackId = feedbackId;
    }

    public Long getFeedbackId() 
    {
        return feedbackId;
    }

    public void setHouseId(Long houseId) 
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setReply(String reply) 
    {
        this.reply = reply;
    }

    public String getReply() 
    {
        return reply;
    }

    public void setReplyBy(Long replyBy) 
    {
        this.replyBy = replyBy;
    }

    public Long getReplyBy() 
    {
        return replyBy;
    }

    public void setReplyTime(Date replyTime) 
    {
        this.replyTime = replyTime;
    }

    public Date getReplyTime() 
    {
        return replyTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("feedbackId", getFeedbackId())
            .append("houseId", getHouseId())
            .append("userId", getUserId())
            .append("type", getType())
            .append("content", getContent())
            .append("images", getImages())
            .append("status", getStatus())
            .append("reply", getReply())
            .append("replyBy", getReplyBy())
            .append("replyTime", getReplyTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
